<div id="friend<%=friend.id%>">
<%= link_to h(friend.friend.name), :controller=>"info", :action=>"read_user", :id=>friend.friend_id %>
<div style="width:100;text-align: center;margin:10px 0 10px 0"><img class="myimage"
	src=<%=url_for(:controller=>"index",:action=>"post_picture",:id=> friend.friend.picture_id)%>
	width="60*60" /></div>
<div style="width:100;text-align: center;"><%= link_to_remote "删除", :url=>{:controller=>"info", :action=>"delete_friend", :id=>friend.id}, :confirm => "确定删除吗?", 
    :complete => "new Effect.Puff('friend#{friend.id}')" %>&nbsp;|&nbsp;
    <%= link_to_remote "问候", :url=>{:controller=>"info", :action=>"show_message", :id=>friend.friend_id},
    :loading => "Element.show('indicator')",:complete => "Element.hide('indicator')",:update=>"message" %></div>
</div>
